package itcz.example.pattern.behavior_type.chain.jdk_demo;

import itcz.example.pattern.behavior_type.chain.GeneralManager;
import itcz.example.pattern.behavior_type.chain.GroupLeader;
import itcz.example.pattern.behavior_type.chain.LeaveRequest;
import itcz.example.pattern.behavior_type.chain.Manager;

/**
 * @ClassName: Client
 * @Author: ITCZ
 * @Date: 2025-07-24
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        Request req = null;
        Response res = null;
        //
        FilterChain filterChain = new FilterChain();
        filterChain.addFilter(new FirstFilter()).addFilter(new SecondFilter());
        filterChain.doFilter(req, res);

    }
}
